<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../000-assets/js/vue3.js"></script>
</head>
<body>

    <script>
        // vue3的响应式原理
        let obj = {}
        let vm = new Proxy(obj,{
            get(obj,key){
                console.log('get');
                return obj[key] 
            },
            set(obj,key,value){
                console.log('set');
                obj[key] = value;
            }
        })
    </script>
</body>
</html>